/// 筛选模式封装类
class AppEnumSortType {
  static const int sortDefault = 0;
  static const int sortDifficultyLow = 10;
  static const int sortDifficultyHigh = 11;
  static const int sortViewLow = 20;
  static const int sortViewHigh = 21;
  static const int sortCommend = 30;

  /// 获取排序类型描述
  static String getSortDescription(int sort) {
    switch (sort) {
      case sortDifficultyLow:
        return '难度高到底';
      case sortDifficultyHigh:
        return '难度低到高';
      case sortViewLow:
        return '阅读量低到高';
      case sortViewHigh:
        return '阅读量高到低';
      case sortCommend:
        return '推荐';
      default:
        return '默认排序';
    }
  }
}


class AppEnumAssets {
  static const String basePath = 'lib/assets/images/media/';
  static const String rawfilePath = 'lib/assets/rawfile/';
}